added a slider to the carousel view