 
 import UIKit
 
-public class ParallaxView: UICollectionViewCell {
+public class ParallaxView: UIView {
 
     // MARK: Properties
 
-    private let glowEffect: UIImageView
+    internal let glowEffect: UIImageView
+
+    var glowEffectContainerView: UIView? {
+        didSet {
+            glowEffectContainerView?.layer.cornerRadius = layer.cornerRadius
+            glowEffectContainerView?.clipsToBounds = true
+            glowEffectContainerView?.addSubview(glowEffect)
+            glowEffectContainerView?.opaque = true
+            glowEffectContainerView?.layer.shouldRasterize = true
+        }
+    }
+
+    var parallaxEffectView: UIView?
 
     /// Maximum deviation of the shadow relative to the center
-    public var shadowPanDeviation = 15
+    public var shadowPanDeviation = 15.0
 
     /**
      Property allow to customize parallax effect (pan, angles, etc.)

    public var cornerRadius = CGFloat(10) {
        didSet {
            layer.cornerRadius = cornerRadius
            contentView.layer.cornerRadius = layer.cornerRadius
        }
    }



    internal func commonInit() {
        layer.cornerRadius = cornerRadius

        glowEffect.alpha = glowEffectAlpha

