// This script shows and hides the scroll indicator in the lower // right hand corner of the page. document.addEventListener('DOMContentLoaded', function() { const image = document.getElementById('scroll-image'); const lastParallax = document.getElementById('last-parallax'); const observer = new IntersectionObserver((entries) => { entries.forEach(entry => { if (entry.isIntersecting) { image.style.display = 'none'; } else { image.style.display = 'block' } }); }); observer.observe(lastParallax); });