Left and right arrow keys now trigger events successfully