fix menu overflow on ipad