                 chosenCenter = initialCenter!
                 chosenSize = initialSize!
             }
-            println("Chosens: \(chosenCenter) and \(chosenSize)")
             
             if panGesture.view?.center != chosenCenter {
                 UIView.animateWithDuration(0.4, animations: {

        }

        if gestureState == UIGestureRecognizerState.Began || gestureState == UIGestureRecognizerState.Changed  {
            panGesture.view?.center = CGPointMake(panGesture.view!.center.x, panGesture.view!.center.y + translatedPoint.y)
            panGesture.setTranslation(CGPointMake(0, 0), inView: self.superview)
            //TODO: change frame size constantly

        } else if gestureState == UIGestureRecognizerState.Ended {
            println("ENDED")

    var initialSize: CGSize?
    var finalSize: CGSize?
    var firstX: CGFloat = 0, firstY: CGFloat = 0
    var aspectRatio: CGFloat = 0.5625
    
    var rangeTotal: CGFloat!
    var widthRange: CGFloat!
    var centerXRange: CGFloat!
    
    override init(frame: CGRect) {
        super.init(frame: frame)
