Move maxHeight into viewModel, get rid of float.