Changed to keydown to recognize arrow presses,  made two spans that you can change the boundary of by pressing left or right