added support for IJKL and arrow keys