fixed CSS transitions firing on page load issue