solved the minHeight conundrum