update toc link max-width, and toc autoscroll length