Revert to old OnGlobalLayoutListener logic

Use this instead of measure since we dont seem to have a reliable way to
measure correctly the header view from outside its parent. Now we do a
hack with smoothScrollBy to make sure the header view is visible on
first load