Comment out menu generation code on mobile.