Added events prototype to Slider