Fixes bug to prevent double page scroll

We had a problem where `afterLoad` was called twice. I believe this commit fixes a minor bug where the if expression would always be false (`sectionAnchor` is a string and `lastScrollDestiny` is a number).

After this commit, our `afterLoad` is only called once, as expected.