     
     var summary: SectionCollectionViewCellSummary? {
         didSet {
-            optionViews = summary?.options.flatMap { $0.view } ?? []
-            
-            guard let view = optionViews.first else {
-                return
-            }
-            
-            scrollView.addSubview(view)
             
             
-            let views: [String : Any] = ["view": view, "scrollView": scrollView]
-            
-            scrollView.addConstraints(NSLayoutConstraint.constraints(withVisualFormat: "H:|[view(==scrollView)]|", options: [], metrics: nil, views: views))
-            scrollView.addConstraints(NSLayoutConstraint.constraints(withVisualFormat: "V:|[view(==scrollView)]|", options: [], metrics: nil, views: views))
         }
     }
     

        return scrollView
    }()
    
    lazy var optionViews: [OptionView] = []
    
    var firstHeightConstraint: NSLayoutConstraint?
    var lastHeightConstraint: NSLayoutConstraint?

        addConstraints(NSLayoutConstraint.constraints(withVisualFormat: "H:|[scrollView(==self)]|", options: [], metrics: nil, views: views))
        addConstraints(NSLayoutConstraint.constraints(withVisualFormat: "V:|[scrollView(==self)]|", options: [], metrics: nil, views: views))
    }
    
    func reloadOptionsView() {
        
        summary?.options.enumerated().forEach { option in
            let view = option.element.view
            
            if option.offset == 1 {
                // TODO: Set gradient
            }
            
            let tap = UITapGestureRecognizer(target: self, action: #selector(menuOptionTouchUpInside(_:)))
            view.addGestureRecognizer(tap)
            
            scrollView.addSubview(view)
        }
        
        //    _mainHeight = [self calculateHeightForOptions:_menuOptionsView];
        //
        //    [self reloadView];
        //    [self textAnimation];
    }
    
    func menuOptionTouchUpInside(_ gestureRecognizer: UITapGestureRecognizer) {
        
    }
    
//    
//    - (void)menuOptionTouchUpInside:(UITapGestureRecognizer *)gesture  {
//    
//    if ([_delegate respondsToSelector:@selector(navigateToOptionFromIndexPath:)]) {
//    
//    NSInteger indexView = [_menuOptionsView indexOfObject:gesture.view];
//    MenuOptionItem *item = [_menuOptionsExtended objectAtIndex:indexView];
//    
//    NSInteger indexOption = [_menuOptions indexOfObject:item];
//    NSIndexPath *path = [NSIndexPath indexPathForItem:indexOption inSection:0];
//    
//    [_delegate navigateToOptionFromIndexPath:path];
//    }
//    }
}

extension SectionCollectionViewCell: UIScrollViewDelegate {
