Better intergrate function handling left & right arrow keydown events