Add basic support for moving the cursor by swiping on the keyboard