timob-16906: safety check on onPageScroll

Testing steps in JIRA