Rm unnecessary newline #whitespace #cosmetic
Move scrollHoriz out of keystroke.js into own file

It's also called by mouse.js and textarea.js, shouldn't be in
keystroke.js.