Move setting of panel state in header to after init of the view