fix #13220 Scrollspy generates wrong offsets for a page-- recalculate offsets if `scrollheight` changes
Merge pull request #13783 from twbs/fat-13220

fix #13220