modulo min-height on resize