update menu on scroll