 	var initiated = false
 
 	@IBInspectable var foldLeft: Bool = true
+	@IBInspectable var keepOrder: Bool = true
 
 	public override init(frame: CGRect) {
 		super.init(frame: frame)
 	}
+
 	public required init?(coder aDecoder: NSCoder) {
 		super.init(coder: aDecoder)
 	}
+
 	public override func layoutSubviews() {
 		super.layoutSubviews()
 		initiated = true
 		reloadViews(false)
 	}
+
 	public func reloadData() {
 		subviews.forEach {
 			$0.removeFromSuperview()

			} else {
				$0.hidden = false
				if let sub = $0 as? BGStateView {
					if let s1 = sub.pickerState, s2 = selectedValue where s1 == s2 {
						$0.frame.origin.x = foldLeft ? 0.0 : frame.width - $0.frame.width
					} else {
						$0.frame.origin.x = foldLeft ? x : x - $0.frame.width
					}
				}
			}
			x += foldLeft ? $0.frame.width : -$0.frame.width
		}
	}

	func animationCompleted() {

				self.animationCompleted()
			}
		} else {
			reloadPositions()
			animationCompleted()
		}
	}

