Setting the transition direction animation

@jorgtron You might also want to look at this :

and

Your links aren’t getting the “back” animation you expect because they are links. Links mean go forward. So, a link can’t understand your intent to go backward.

Look at the code for the last page in the example. It uses the history to actually go back and provides the correct animation.