Tried to fix code for scrolling
Merge pull request #1 from asmaier/master

Tried to fix code for scrolling