     
     // MARK: - Subviews
     private let scrollView = PhotoScrollView()
-    private let cropView = UIView()
     private let topMask = UIView()
     private let bottomMask = UIView()
     
+    private var cropSize: CGSize = .zero
     private var originalSize: CGSize = .zero
+    private var originalPoint: CGPoint = .zero
     private var angle: CGFloat = 0
     private var manualZoomed: Bool = false
-    
-    private var maximumCanvasSize: CGSize = .zero
-    private var _centerY: CGFloat = 0   // TODO
-    private var originalPoint: CGPoint = .zero
     
     // MARK: - UIView
     

        bottomMask.backgroundColor = maskColor
        
        addSubview(scrollView)
        addSubview(cropView)
        addSubview(topMask)
        addSubview(bottomMask)
        

    
    private func updateMasks(animated animated: Bool = false) {
        
        let maskSize = CGSize(
            width: bounds.size.width,
            height: (bounds.size.height - cropSize.height) / 2
        )
        
        let animation = {
            self.topMask.frame = CGRect(
                origin: CGPoint(x: 0, y: self.bounds.top),
                size: maskSize
            )
            self.bottomMask.frame = CGRect(
                origin: CGPoint(x: 0, y: self.bounds.bottom - maskSize.height),
                size: maskSize
            )
        }
        
