Update slider.coffee

fixes touch event