add animation for header and content when page load