Fixed bug #566, which caused the slider to crash in iOS

onTouchMove() now deregisters itself if touch event is not tracking in the direction of the slider.