This change adjusts the code in the botathon/index.php page so that jQuery objects aren't continuously re-queried every time the page is scrolled. see 895181193c40a96b9712e03aa30b24477285690f
Other changes:
Navigation panel classes are changed using native JS DOM selectors instead of jQuery because there's no reason to use jQuery in those cases. See 895181193c40a96b9712e03aa30b24477285690f, specifically, the changes to the function switchActive and the addition of the var navAnchors
The initial state of the navigation panel is set properly. Previously, if the page's scroll position was set before the script could load (e.g., the user scrolls down and reloads the page, and the browser keeps the page scroll constant between loads), the active navigation anchor would always be the first one. See 04a3e436ed5214b7432418132b08bb9848b051bf
Refactoring. Renaming some variables and functions and changing scopes for variables and functions so that jQuery isn't continuously re-queried. Also changed to use let instead of var. See 7c81cfa4def1f5c6b7024804433caca9d858fbfb
This change adjusts the code in the botathon/index.php page so that jQuery objects aren't continuously re-queried every time the page is scrolled. see 895181193c40a96b9712e03aa30b24477285690f
Other changes:
switchActive
and the addition of the varnavAnchors