             break
           }
         }
-        
+
         self.closeBlock?()
     }
   }
-  
+
   // MARK: - Private methods
-  
+
   @objc private func maskViewWasTapped() {
     self.dismiss()
   }
-  
+
   @objc private func buttonWasTapped(sender: AnyObject) {
     guard let items = self.items else {
       return

        self.itemContainerView.transform = CGAffineTransformIdentity
      }, completion: nil)
  }
  
  public func dismiss() {
    // Hide animation
    self.maskView.alpha = 1

      screenBounds.width,
      currentPosition)
    self.items = items

    // Show animation
    self.maskView.alpha = 0
    targetView.addSubview(self.itemContainerView)
