Added Carousel rotating function.