closing stuff on header click