set dynamic height of content