Update header layout to stay within container.