function isStaticPositioned(el) {
          return ($window.getComputedStyle(el).position || 'static') === 'static';
        }
Provides the closest positioned ancestor.

@param {element} element - The element to get the offest parent for.

@returns {element} The closest positioned ancestor.