check child height against parent

only valign if topmargin and child height is less than container height