Added missing check to scrollView
Merge pull request #3848 from vishalduggal/scrollviewfix_30X

 (3_0_X) Added missing check to scrollView