i think this is the most logic answer.
Alright, darkish-raven was fairly close, but here is the answer.
Every hour, the guard wakes up. By the time you get half-way across, the guard will wake up, correct? Well, right before the guard wakes up, turn around.
yep you got it right