avoid toc scroll from jumping to top first