Using the scrollspy which works way nicer than my code :((