Shrinking menu for mobile devices