Refactor scroll_input
Merge pull request #553 from duncanspumpkin/refactor_scroll_input

Refactor scroll_input