Don't allow default actions when using the slider

Prevents scroll etc - this fixes use for vertical sliders