         }
     }
     
-    required init?(coder aDecoder: NSCoder) {
+    required public init?(coder aDecoder: NSCoder) {
         super.init(coder: aDecoder)
         fatalError("init(coder:) has not been implemented")
     }

    
    //MARK: -
    
    init() {
        super.init(nibName:nil, bundle:nil)
        self.view.backgroundColor = UIColor.white
        

    
    //MARK: - UIScrollViewDelegate
    
    public func scrollViewDidScroll(_ scrollView: UIScrollView) {
        let offset = scrollView.contentOffset.x / scrollView.frame.size.width
        self.contentDidScroll(withOffset: offset)
        
