Detect if an element is in the viewport using the Intersection Observer API
github.com/metonym/svelte-intersection-observer
metonym/svelte-intersection-observer