auto-resize on height too