TOC sidepanel works for both notesEdit and notesView.
Extension headerid is enabled instead of toc.