* Adjust upgradeLayouts function for mv bottom to middle.