to be honest I think i'd rather see two separate methods, one for element, one for window/body e.g.

```js
(this.scroller === window || this.scroller === body) ? this.getDocumentHeight() : this.getElementHeight();
```