refactored Carousel.