Fix window jump on keypress

Fix of issue #565

The `scrollTop` of `body` returned 0, this - using plain JS - works perfectly.