Orientation Puzzle

Move from the bottom to the top by clicking on the type of move.
But you can only do the moves you can see straight ahead.
Tricky! (I predict you will be using "undo" a lot)