document.querySelectorAll('.screenshot-hero-scroll').forEach(function (el) {
    var img = el.querySelector('img');
    function check() {
        if (el.scrollHeight <= el.clientHeight) {
            el.classList.add('screenshot-hero-scroll--no-hint');
        }
    }
    if (img && !img.complete) {
        img.addEventListener('load', check);
    } else {
        check();
    }
});
