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

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

    case horizontal
}

public enum GalleryFlowStyle {
    case vertical         // vertical flow
    case horizontal       // horizontal flow
    case autoFixed        // flow based on initial aspeciRatio  eg. height > width = Vertical, 
                          //                                        heignt < width = Horizontal
    
    case autoDynamic      // auto flow based on dynamic aspect ratio: requares orientation change event to be catched
    
}
