[bug 838592] Fix TOC links jumping on lazy load