         return badge
     }()
 
-    fileprivate lazy var leftSwipeGestureRecognizer: UISwipeGestureRecognizer = {
-        let swipe = UISwipeGestureRecognizer(target: self, action: #selector(self.didSwipeLeft(gestureRecognizer:)))
-        swipe.direction = .left
-        return swipe
-    }()
-
-    fileprivate lazy var rightSwipeGestureRecognizer: UISwipeGestureRecognizer = {
-        let swipe = UISwipeGestureRecognizer(target: self, action: #selector(self.didSwipeRight(gestureRecognizer:)))
-        swipe.direction = .right
-        return swipe
-    }()
-
     fileprivate var previousCardViewController: PlaceDetailsCardViewController?
     fileprivate var currentCardViewController: PlaceDetailsCardViewController!
     fileprivate var nextCardViewController: PlaceDetailsCardViewController?

    }

    func addGestureRecognizers(toViewController viewController: PlaceDetailsCardViewController) {
        //     viewController.cardView.addGestureRecognizer(leftSwipeGestureRecognizer)
        //      viewController.cardView.addGestureRecognizer(rightSwipeGestureRecognizer)
        viewController.cardView.addGestureRecognizer(panGestureRecognizer)
    }


                // ensure that the correct current, previous and next view controller references are set
                self.imageCarousel.removeFromSuperview()
                self.imageCarousel = nextCardImageCarousel
                self.currentCardViewController.cardView.removeGestureRecognizer(self.panGestureRecognizer)
                if let previousCardViewController = self.previousCardViewController {
                    previousCardViewController.cardView.removeFromSuperview()
                    previousCardViewController.cardView.isHidden = false
