different scroll container (target) than html, body
different scroll container (target) than html, body

I did not do extensive testings. I just fix this for my mdc theme with a different scroll while using the navigation drawer.
https://material.io/components/navigation-drawer

Usage example:

      $.scrollify({
        section : "article.post, .site-footer", // add .site-footer to reach bottom
        scrollSpeed: 200,
        setHeights: false,
        target:"#main-content"
      });
lukehaas/Scrollify