e.size) {
            leftOffset = Math.min(leftOffset + PAGE_SIZE, currentLeftTable.size);
            load(currentLeftTable, leftOffset);
        }
    };
    document.getElementById('end_left').onclick = () => {
        if (leftOffset < currentLeftTable.size) {
            leftOffset = Math.max(0, leftOffset.size - PAGE_SIZE);
            load(currentLeftTable, leftOffset);
        }
    };

    document.getElementById('start_right').onclick = () => {
        if (rightOffset > 0) {
            rightOffse