Flip animation works when opening the site