Fixed issue #383; dragging down doesn't trigger scrolling

Fixed issue #383, but drag doesn't work if the cursor is outside of the browser.