fix toggle on TopMenu closed #316