Affix: use scrollHeight instead of offsetHeight

`document.body.offsetHeight` returns "wrong" value when the following CSS is applied:

```css
html, body {
  height: 100%;
}
```

A wrong (negative) `top` value is then calculated for `affix-bottom`.