         
         return indicatorPointY
     }
+    
+    private func checkForRTLAndFlipIfNeeded() {
+        var isDynamicPosition = false
+        if case .dynamic = segmentioOptions.segmentPosition {
+            isDynamicPosition = true
+        }
+        if isRTL && isDynamicPosition {
+            transform = CGAffineTransform(scaleX: -1, y: 1)
+            isFlipped = true
+        }
+        
+    }
 }
 
 // MARK: - UICollectionViewDataSource

                pointY: indicatorPointY(),
                position: segmentioOptions.segmentPosition,
                style: segmentioStyle,
                isRTL: isRTL
            )
            let insetX = ((points.endPoint.x - points.startPoint.x) - (item.endX - item.startX))/2
            moveShapeLayer(

            }
        }
        
        checkForRTLAndFlipIfNeeded()
        setupHorizontalSeparatorIfPossible()
        setupCellWithStyle(segmentioStyle)
        segmentioCollectionView?.reloadData()
