toc editor : remove main panel