add arrowkey support