when a view is scrolled, the corresponding menu item is also shifted