         imageView.addGestureRecognizer(tapGesture)
     }
 
+    private func addPanGesture() {
+        let panGesture = UIPanGestureRecognizer(target: self, action: "handlePanGesture:")
+        self.addGestureRecognizer(panGesture)
+    }
 }

    }

    func handleTapGesture(tapGesture:UITapGestureRecognizer) {
        let tappedImageView = tapGesture.view
        let index = self.imageViews.find {$0 == tappedImageView}
        if index != nil {
            let highlightValue = Float(index! + 1)
            self.highlightStars(highlightValue)

    override init(frame: CGRect) {
        super.init(frame: frame)
        self.addTapGestures()
        self.addPanGesture()
    }

    required init(coder aDecoder: NSCoder) {
