Triggered two useful events for outpage and inpage when the animation is complete. animation.out.complete and animation.in.complete