anchor.diff:      //handle scrolling pages
       document.addEventListener('scroll', () => {
         //scroll to bottom
  -      if (window.innerWidth >= 1008) {
  +      if ($(window).width() >= 1008) {
           if(sidebar !== null) {
             //pages with multiple toc entries
             if(document.documentElement.scrollHeight === window.pageYOffset + window.innerHeight) {
  
positive.code:       sidebar.style.display = "block";
        sidebar.style.top = "0px";
        hc_search.style.top = 'unset';
      }
    </script>
  
  
negative.code:       }
     });
      window.addEventListener('resize', () => {
        if ($(window).width() >= 1008) {
          if(alert !== null) {
            document.querySelector('#support-alert').style.removeProperty('position');
            document.querySelector('#support-alert').style.removeProperty('bottom');
  