keydown listener for table cells