Svelte component providing auto-hiding header and footer based on collardeau/svelte-headroom inspired by headroom.js