move old scroll handler code into separate file
Merge pull request #1 from Talii123/cleanup

move old scroll handler code into separate file