     
     private var slideshowTimer: NSTimer?
     private var scrollViewImages = [InputSource]()
-    
+
     // MARK: - Life cycle
     
     override public init(frame: CGRect) {

    
    override public func layoutSubviews() {
        super.layoutSubviews()
        
        pageControl.hidden = pageControlPosition == .Hidden
        pageControl.frame = CGRectMake(0, 0, frame.size.width, 10)
        pageControl.center = CGPointMake(frame.size.width / 2, frame.size.height - 12.0)
        


import UIKit

public enum PageControlPosition {
    case Hidden
    case InsideScrollView
    case UnderScrollView
    case Custom(padding: CGFloat)
    
    var bottomPadding: CGFloat {
        switch self {
