set menu by scroll position