macosx: change handling of arrow keys slightly