Support the moving of the cursor.