                         self.moveCellsApartWithFrame(frame: (self.lineView.frame), andOrientation: 0)
                         
                     })
-                    
-                    
-
                 }else if differenceRight < 20 && differenceRight > 0{
                     
                     print("Insert to the right of the cell line")
                     lineView.removeFromSuperview()
                     
-                    let  xOffset = destinationCell.frame.origin.x + destinationCell.frame.size.width + 2
+                    let  xOffset = destinationCell.frame.origin.x + destinationCell.frame.size.width + 5
                     let  yValue = destinationCell.frame.origin.y
                     let nestedWidth = 2.0
                     let nestedHeight = sourceCell?.frame.size.height
                     //floor(xOffset)
                     //floor(yValue)
-                    print("\(floor(xOffset))in right of the cell line ")
-                    print("\(floor(yValue))in right of the cell line ")
+                    //print("\(floor(xOffset))in right of the cell line ")
+                    //print("\(floor(yValue))in right of the cell line ")
                     self.collectionView?.performBatchUpdates({
                         self.lineView.frame = CGRect(x: xOffset, y: yValue, width: CGFloat(nestedWidth), height: nestedHeight!)
                         self.lineView.backgroundColor = UIColor.black

            
            break
        case .ended:
            stopped = true
            endDragAtLocation(location: location)
        default:


    var collectionView :UICollectionView?
     //UIView *lineView;
    var cellsToMove0 = NSMutableArray.init()
    var cellsToMove1 = NSMutableArray.init()
    var lineView : UIView = UIView(frame: CGRect.zero)
    let CustomEverythingPhotoIndex = 1, DefaultLoadingSpinnerPhotoIndex = 3, NoReferenceViewPhotoIndex = 4
    fileprivate var imageCount : NSNumber = 0
