Rearrange TOC and chapter level