implement support for menu item positioning