Merge pull request #6 from clkao/master

make toc available as soon as enabled
avoid toc scroll from jumping to top first