add option to take the parent container height