Better resizable TOC and page width handling.