Added prototype animation for switching pages