factored out logic to subclasses of UITableView and UITableViewCells

I believe views are better suited for handling panning logic rather than a UITableViewController.