Changes the menu width dynamically for iPad.