Create a menu using IntersectionObserver