Added missing check to scrollView

No JIRA ticket