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

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