Accomodate superview changes in iOS7

Now compatible with the modified view hierarchy of UITableViewCell and UITableView.