add animation to page