ios functionality for menu and tutorial