0 || document.querySelector("#main").scrollTop > 20) {
          mybutton.style.display = 'block';
        } else {
          mybutton.style.display = 'none';
        }
      }
      mybutton.addEventListener('click', backToTop);

      function backToTop() {
        document.querySelector("#main").scrollTop = 0;
        document.documentElement.scrollTop = 0;
      }

      const scrollProgress = () => {
        return {
          init() {
            document.querySelector("#main").addEventListener("scrol