timob-16906: safety check on onPageScroll
Merge pull request #5659 from hieupham007/timob-16906

timob-16906: safety check on onPageScroll