modifying animation for opening pages