);
            }
        }, 10);
    }

    function scrollDown() {
        removeGhostLettersInit();
        scrollPosition = Math.min(scrollPosition + bodyDiv.offsetHeight - offsetNotScroll, bodyDiv.scrollHeight);
        bodyDiv.scroll(0, scrollPosition);
        removeGhostLettersFinish();
    }

    function scrollUp() {
        removeGhostLettersInit();
        scrollPosition = Math.max(scrollPosition - bodyDiv.offsetHeight + offsetNotScroll, 0);
        bodyDiv.scroll(0, scrollPosition);
        remo