changed name of function centerVertical to center