Toggling header using view event