Added toc autoscrolling