ensure startup of view has a collapsed paned and is also initialised correctly when switching to it from another view