Navigation through files via arrowkeys wasn't working in Chrome

`onkeypress` event is not being generated in Chrome for arrow keys, with `onkeydown` everything is ok.