History migration: Remove initial jump on displaying menu and line up menu items nicely GitOrigin-RevId: f04c01565aa9ea128e87543fa7108d7fb0ae8657