     private func scrollToRightViewContentOffSetWithView(view: UIView) {
         
         var rightPoint: CGPoint = CGPointMake(view.frame.origin.x - self.distanceBetweenViews, self.scrollView.contentOffset.y)
+        self.currentIndexItem = self.itemsQueueArray.indexOfObject(view)
         self.updateScrollViewContentOffSet(rightPoint)
 
     }

    var vertical: Bool = false
    var decelerationRate: CGFloat?
    var scrollOffset: CGFloat?
    var currentIndexItem: Int?
    var numberOfItems: Int?
    var itemSize: CGSize?
    var itemsQueueArray: NSMutableArray = NSMutableArray()
    var alignment: Alignment = .Center
    var distanceBetweenViews: CGFloat = 20
    var currentIndex = 0
    
    
    // MARK: - Private Properties

    private func scrollToCenterViewContentOffSetWithView(view: UIView) {

        var centerPoint = self.getCenterPoint(view)
        self.currentIndexItem = self.itemsQueueArray.indexOfObject(view)
        self.updateScrollViewContentOffSet(centerPoint)
        
    }
