Animated scrolling for toc