restore ToC tree appearance for non-ebook UI
prevent flickering in sidebar title (introduced with r9212)