Replace anchor scrolling script by CSS's scroll-behavior
Handling anchor links in Javascript is not necessary anymore since scroll-behavior: smooth; allows smooth scrolling all over your site when clicking anchor links. Additionally, the current Javascript implementation does not take into account CSS p...