     let btScrollView = BTHorizontalPageableView(frame: frame)
 
 */
-class BTHorizontalPageableView: UIView, YSSegmentedControlDelegate, UIScrollViewDelegate {
+public class BTHorizontalPageableView: UIView, YSSegmentedControlDelegate, UIScrollViewDelegate {
 
     //// The Segmented control, used for display the 'titles' bar.
     var segmentedControl : YSSegmentedControl? {

        self.init(frame: CGRect.zero)
    }

    required init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
        self.addSubview(self.scrollView)
    }

        }
    }
    
    public override var frame:CGRect {
        didSet {
            scrollView.frame = frame
        }
