Created animation when user clicks on back to top