fix menu horizontal scroll bug