Fix: when dragging the slider, the mouse movements get attached to the scroll

Fix: when dragging the slider, the mouse movements get attached to the
scroll

Adding `mouseleave` event handler that calls events.up() seems to clear
the problem