refactored dynamicHeightTableViewCell and its hierarchy table view cell classes