activate carousel after page is loaded