Animating a Canvas with Keyboard Events