function windowBounds() {
  var width = window.innerWidth;
  var height = window.innerHeight;
  return {
    top: 0,
    left: 0,
    right: width,
    bottom: height,
    width: width,
    height: height
  };
}
Find the equivelent of getBoundingClientRect of a browser window
@returns {{ width: Number, height: Number, top: Number, left: Number, right: Number, bottom: Number }}
@memberof Core