Made key up/down work