Add animations for page transitions