Navigation key mappings.

Also moved the keymappings to a separate dictionary.