layout improvments for toc