Implement last movement, prototype key events