code: function (element) {
  		var elementBounds = element.getBoundingClientRect();
  		var left = elementBounds.left;
  		var top = elementBounds.top;
  		var documentBounds = document.documentElement.getBoundingClientRect();
  		left -= documentBounds.left;
  		top -= documentBounds.top;
  
  		return {
  			top: top,
  			right: innerWidth - left - elementBounds.width,
  			bottom: innerHeight - top - elementBounds.height,
  			left: left,
  			width: elementBounds.width,
  			height: elementBounds.height
  		};
  	}
docs: Returns the absolute X, Y offsets for an element
  @param {HTMLElement} element
  @returns {{top: number, right: number, bottom: number, left: number, width: number, height: number}}