revamp PanelMode