             frame.origin.x += width
         }
         
-        self.scrollView.contentOffset = CGPointMake(0, height)
-        
         // Page Control
         if self.visiblePageControl {
             self.pageControl = UIPageControl(frame: CGRectZero)

    }
    
    override public func viewWillAppear(animated: Bool) {
        self.scrollView.contentOffset = CGPointMake(self.scrollView.bounds.width * CGFloat(self.index), self.scrollView.bounds.height)
        self.scrollInitalized = true
    }
    

    var scrollMode:PhotoSliderControllerScrollMode = .None
    var scrollInitalized = false
    var closeAnimating = false

    public var delegate: PhotoSliderDelegate? = nil
    public var visiblePageControl = true
    public var visibleCloseButton = true
    public var currentPage = 0
    
    public init(imageURLs:Array<NSURL>) {
        super.init(nibName: nil, bundle: nil)
