upgrade horizoll.js to be responsive under keydown