     var itemSize = CGSize(width: 200, height: 200)
     var minimumScaleFactor = 0.5
     
-    var orientation:OrientationState = .autoDynamic
+    var orientation:GalleryFlowStyle = .autoDynamic
     var orintationSupport = false
     
     open var shouldScrollInfinite = true   //  can be changed based on requared behaviour

    /**
     use it only with custom Flows implementations
     */
    public func setGalleryWithCustomFlows(andStyle style:OrientationState) {
        Gallery.sharedInstance.orientation = style
        Gallery.sharedInstance.orintationSupport = false
        self.isPagingEnabled = false

     by calling setGallery(forLayout layout: FlowLayouts,minLineSpacing:CGFloat,itemSize:CGSize,minScaleFactor scaleFactor:CGFloat)
     for both layouts and
     */
    public func setGallery(withStyle style:GalleryFlowStyle, minLineSpacing:CGFloat,itemSize:CGSize,minScaleFactor scaleFactor:CGFloat){
        
        switch style {
        case .vertical:
