updated layout variables so that compact header is page level variable, not root level.