add animation for course page