make it possible to override behavior of offsetWidth/offsetHeight
Merge pull request #785 from jbergknoff/configurable

Make it possible to override behavior of offsetWidth/offsetHeight