Added events when showing new page with animation