Changed reference to mainCarousel