carousel on main page with functionalities