Now retains panels content in a panel switch