     open var pageSegmentedControl: DTSegmentedControl!
     
     /// Page scroll view
-    open fileprivate(set) var pageScrollView : UIScrollView!
+    /// This should not be exposed. Changing behavior of pageScrollView will destroy functionality of DTPagerController
+     var pageScrollView : UIScrollView!
     
     /// Initializer with array of view controllers to be displayed in pager.
     /// Title of each view controller will be used to display in each tab of segmented control.

    
    /// scrollIndicator below the segmented control bar.
    /// Default background color is blue.
    lazy var scrollIndicator: UIView = {
        let bar = UIView()
        bar.backgroundColor = UIColor.blue
        self.view.addSubview(bar)
        return bar
    }()
    

    
    //MARK: UIScrollViewDelegate's method
    open func scrollViewDidScroll(_ scrollView: UIScrollView) {
        // Delegate
        delegate?.pagerController?(self, scrollViewdidScroll: scrollView)
        
        // Update bar position
        scrollIndicator.frame.origin.x = scrollView.contentOffset.x/scrollView.contentSize.width * scrollView.frame.size.width
        // When content offset changes, check if it is closer to the next page
        var index: Int = 0
        if scrollView.contentOffset.x == 0 && scrollView.frame.size.width == 0 {
            index = 0
