Add close-head? to page header function