Improved the arrow keys

The arrow keys now avoid the DOM.