adjusting transitions on page load