added support for superviews other than the uitableview