resolve menu transition issue