Added mouse dragging.