add function fitHeightWithSubViews