Removed null check in a couple methods.
Refactored first and last scroll node check methods.
Merge pull request #279 from ericwan78/issue-259

fixes #259