Fix top pane toggling

Doesn't work because toggleTabs not defined and I'm forgot to remove it.