switchPanelMode: fix typo