modify the pad and mobile main menu size