Make sure mScrollView is not null when calling layoutItems from content observer.

Change-Id: I34e5be733af3166b3a88150bb5c4574f962be436
Merge "Make sure mScrollView is not null when calling layoutItems from content observer." into jellybean-mr1