code: function resizeScrollContent() {
        if (scrollDirection === 'vert'){
          $scrollContentEl.width($el.width()+scrollbarWidth());
          $scrollContentEl.height($el.height());
        } else {
          $scrollContentEl.width($el.width());
          $scrollContentEl.height($el.height()+scrollbarWidth());
          $contentEl.height($el.height());
        }
      }
docs: Resize content element