Adding classes to the slider.