No animation and flickering on page load