Change handling of mousemove/mousedown/mouseup events

Now your plugin handle all mousemove / mouseup events in document, but actually it can do it only after mousedown on scroller. So, I refactored event handling and changed this logic.