Drag the cursor to move the view