conditional deisplay of header