example with menu and zoom pan