(scrollTop = container.scrollTop)} > {#if itemHeight * startIndex > 0} {/if} {#each slice as index (index)} {/each} {#if itemHeight * itemsCount - itemHeight * endIndex > 0} {/if}