making carousel rotate on page load