add scroll animation to page template