Add NPE check to onScroll
Merge pull request #7 from alter-ego/master

Add NPE check to onScroll