css change to fix header flicker