Added scrolling to mouse-drag function.