       $0.backgroundColor                           = UIColor(white: 0, alpha: 0)
       $0.translatesAutoresizingMaskIntoConstraints = false
       $0.layer.masksToBounds                       = false;
-      $0.layer.shadowColor                         = UIColor.black.cgColor
-      $0.layer.shadowRadius                        = 10
-      $0.layer.shadowOpacity                       = 0.3
-      $0.layer.shadowOffset                        = CGSize(width: 0, height:0)
+      if dropShadow {
+        $0.layer.shadowColor                         = UIColor.black.cgColor
+        $0.layer.shadowRadius                        = 10
+        $0.layer.shadowOpacity                       = 0.3
+        $0.layer.shadowOffset                        = CGSize(width: 0, height:0)
+      }
     }
     contentView.insertSubview(shadow, belowSubview: view)
     

/// Base class for UICollectionViewCell
open class BasePageCollectionCell: UICollectionViewCell {
  
  /// Animation oposition offset when cell is open
  @IBInspectable open var yOffset: CGFloat = 40
  
  // MARK: Constants
  

		
		frame.size.height += i * superHeight
		frame.origin.y -= i * superHeight / 2
        if additionalWidth == .greatestFiniteMagnitude {
            frame.origin.x -= i * yOffset / 2
            frame.size.width += i * yOffset
        } else {
            frame.origin.x -= i * additionalWidth / 2
            frame.size.width += i * additionalWidth
        }
	}
	
  
