Slider class