Offset fix

document.body.scrollTop is deprecated in ES5 strict-mode for some
browsers (returns zero), so this would be the right way to do it.