header height should be only modified in onGlobalLayout()