src/showtime.js
function tick() {
        currentTime += 1 / 60;
        var p = currentTime / time;
        var t = easingEquations[easing](p);

        if (p < 1) {
            requestAnimationFrame(tick);

            window.scrollTo(0, scrollY + ((scrollTargetY - scrollY) * t));
        } else {
            window.scrollTo(0, scrollTargetY);
        }
    }
function tick() {
        currentTime += 1 / 60;
        var p = currentTime / time;
        var t = easingEquations[easing](p);

        if (p < 1) {
            requestAnimationFrame(tick);

            window.scrollTo(0, scrollY + ((scrollTargetY - scrollY) * t));
        } else {
            window.scrollTo(0, scrollTargetY);
        }
    }
function tick ( ) { currentTime += 1 / 60 ; var p = currentTime / time ; var t = easingEquations [ easing ] ( p ) ; if ( p < 1 ) { requestAnimationFrame ( tick ) ; window . scrollTo ( 0 , scrollY + ( ( scrollTargetY - scrollY ) * t ) ) ; } else { window . scrollTo ( 0 , scrollTargetY ) ; } }
add animation loop
add animation loop