Add transition when page is loaded