getScrollableElement(target) {
    if (this.hasDefinedScrollableElements()) {
      return (
        closest(target, this.options.scrollableElements) ||
        document.documentElement
      );
    } else {
      return closestScrollableElement(target);
    }
  }
Returns closest scrollable elements by element
@param {HTMLElement} target
@return {HTMLElement}