use keydown instead of keyup for up/down arrow nav in textbox input