Fix #89, images not loaded when revealed by resize

The problem was twofold:
1. scrollCheck did nothing, because the value of scrolled was left false.
2. Even so, The viewportHeight is set at first load and not changed, so isThisElementOnScreen would still fail if the element was below the original viewport.