move cursor while dragging image