Header search toggle fixes