add contentHeight method