[bug 838592] Fix TOC links jumping on lazy load

@mythmon if you could try and break this that would be great!

r?