                 self.currentCardViewController = previousCardViewController
                 self.currentCardViewController.cardView.addGestureRecognizer(self.panGestureRecognizer)
                 self.previousCardViewController = newPreviousCardViewController
+                self.placeDetailsCardView(cardView: self.currentCardViewController.cardView, heightDidChange: self.currentCardViewController.cardView.frame.height)
             }
         })
     }


    func didPan(gestureRecognizer: UIPanGestureRecognizer) {

        // TODO: detect whether we are scrolling up & down, or left to right.
        // if scrolling up and down, simply set content offset for scrollview
        // otherwise do the below

        if gestureRecognizer.state == .began {
            startConstant = currentCardViewCenterXConstraint?.constant ?? 0
        }

        let translationX = gestureRecognizer.translation(in: self.view).x

        if gestureRecognizer.state == .ended {
            // figure out where the view would stop based on the velocity with which the user is panning

                self.currentCardViewController = nextCardViewController
                self.currentCardViewController.cardView.addGestureRecognizer(self.panGestureRecognizer)
                self.nextCardViewController = newNextCardViewController
                self.placeDetailsCardView(cardView: self.currentCardViewController.cardView, heightDidChange: self.currentCardViewController.cardView.frame.height)
            }
        })
    }
