             self.verticalCardSwiperView.trailingAnchor.constraint(equalTo: self.trailingAnchor),
             self.verticalCardSwiperView.topAnchor.constraint(equalTo: self.topAnchor),
             self.verticalCardSwiperView.bottomAnchor.constraint(equalTo: self.bottomAnchor)
-            ])
+        ])
     }
 
     fileprivate func setCardSwiperInsets() {

            index >= 0,
            swipedCard == nil,
            index < verticalCardSwiperView.numberOfItems(inSection: 0)
        else { return false }
        self.isCardRemovalAllowed = false
        let y = CGFloat(index) * (cellHeight + flowLayout.minimumLineSpacing) - topInset
        let point = CGPoint(x: verticalCardSwiperView.contentOffset.x, y: y)

    }

    /**
     Allows you to swipe a card away from code.
     The  `willSwipeCardAway` and `didSwipeCardAway` delegate functions will also be called when you use this function.
     You can use `willSwipeCardAway` to modify your DataSource.
     - parameter index: The index of the card you want to swipe away.
     - parameter direction: The `SwipeDirection` you want to swipe to.
     - parameter duration: The duration of the animation in seconds. Default is 0.3 seconds.
     - Returns: True if swiping away succeeds. False if swiping away failed.
     */
    public func swipeCardAwayProgrammatically(at index: Int, to direction: SwipeDirection, withDuration duration: TimeInterval = 0.3) -> Bool {
        guard swipedCard == nil, isCardRemovalAllowed else { return false }

