Make back buttons transition in reverse