update previous page transition so it flips the animation