Keyboard allows movement and added limits to movement at grid edges.