Moved into own function moving up/down in keybindings window selection and test for its legality.