anchor.diff:                  }
               });
               setTimeout(function() {
  -                if($win.scrollTop() > baseOffsetTop) {
  +                if ($win.scrollTop() > baseOffsetTop) {
                       offsetTop = $win.scrollTop();
                       $win.scroll();
                   }
  
positive.code:                 }
              });
              $win.scroll(function() {
                  var scrollTop = $win.scrollTop();
                  if(scrollTop < baseOffsetTop) {
                      if(scrollTimer) {
                          clearInterval(scrollTimer);
                          scrollTimer = null;
                      }
                      scrollTimer = setInterval(function() {
                          if(offsetTop != 0) {
                              $this.css({
                                  top: 0
                              });
  
negative.code: <script>
      $(document).ready(function() {
          $(".lazy-sticky").each(function() {
              const $win = $(window);
              const $this = $(this);
              const baseOffsetTop = $this.offset().top;
              const upToTopHeight = $("#up-to-top").height() + 30 + 60;
              let footerHeight = $("#footer-content").height() + upToTopHeight;
              let offsetTop = 0;
              let thisHeight = $this.height();
              let winHeight = $win.height();
              let scrollTimer = null;
              let immediate = false;
              $this.find("#toc ul a").click(function(e) {
                  immediate = true;
                  let anchor = $(this).attr("anchor");
                  if (anchor !== "top-of-page") {
                      setTimeout(function() {
                          let offset = $("#" + anchor).offset();
                          if (offset) {
                              immediate = true;
                              $win.scrollTop(offset.top - $("#navigation.fixed .top-bar").height()||0);
                          }
  