Never stop moving on the stairs, it causes all sorts of problems, greatest of which is "was I going up or down?".
To solve the problem, go either way until reaching a level. At this stage you will remember ........ but hurry, hurry if you need to retrace you steps because you could end up in the loop again.
Now, where was I?