         super.init(frame:frame);
         
         addSubview(mainView);
-        
+        mainView.fillParent();
+
         backgroundColor = UIColor.white.withAlphaComponent(0.7);
         alpha=0.0;
     }

    
    override public func layoutSubviews() {
        super.layoutSubviews();
        guard let delegate = delegate else { return; }
        
        let numberOfColumns = delegate.numberOfColumnsForMultiPicker(multiPicker: self);

        if(scrollViews.count != numberOfColumns){
            let columnWidth = CGFloat(1.0/CGFloat(numberOfColumns));
            
            for columnIndex in 0...numberOfColumns{
                let newScrollView = UIScrollView(frame:mainView.frame);
                mainView.addSubview(newScrollView);
                newScrollView.setWidth(columnWidth);
                newScrollView.alignParentLeftBy(.moving, margin:columnWidth * CGFloat(columnIndex));

                newScrollView.delegate = self;
                

                
                lastView = newItemLabel;
            }
            
            currentScrollView.contentSize = CGSize(width: currentScrollView.frame.width, height: lastView!.frame.maxY);
        }
        mainView.hugChildren();
    }
    
    public func show(){
