map and toc resize