Added basic caret movement.