added Slider class