Carousel slide-counting class is now added programattically to ease setup.