added transitions on page load