Added offset to the calculation of scrollFinish
Removed trailing whitespace and tab.
Merge pull request #1 from bgutschke/master

Added offset to the calculation of scrollFinish from bgtschke