{#each $notificationStack .slice(Math.max($notificationStack.length - 5, 0)) .reverse() as notification (notification.id)}
{/each}