fix menu can open when change side