fixes #9644: update scrollspy navbar to use latest code