offsetHeight is NaN in pretty much every browser I test on my setup, so let's use this
Merge pull request #130 from mpasternak/master

Fix #129