created toggle switch for menu icon in main game