     private let itemSize : CGSize = CGSize(width: 300, height: 300)
     
     private var numberOfColumns = 6
-    private var cellPadding : CGFloat = 10
+    private var cellPadding : CGFloat = 20
     private var contentHeight : CGFloat {
         get {
             let insets = collectionView!.contentInset

        return UICollectionViewLayoutAttributes()
    }

    
    override var collectionViewContentSize: CGSize {
        let contentWidth = (cellPadding + itemSize.width) * 6
        return CGSize(width: contentWidth, height: contentHeight)

    //MARK:- UICollectionViewLayout functions
    override func prepare() {
    
        collectionView!.decelerationRate = UIScrollViewDecelerationRateNormal

         xOffsets = [CGFloat]()
        
        for column in 0..<numberOfColumns {
