slider class created