window.document.onscroll = () => {
let mobileMenu = document.querySelector('mobile-menu');
if(window.scrollY > mobileMenu.offsetTop){
this.classList.add('sticky')
} else {
this.classList.remove('sticky');
}
}