added patch to set different min-heights depending on the view port height