     // MARK: - TableView Delegate Reorder functions
     
     func tableView(tableView: UITableView!, beganMovingRowAtPoint point: CGPoint, withSnapShotViewOfDraggingRow snapShotView: UIView!) {
-        initialIndexPathForMovingRow = tableView.indexPathForRowAtPoint(point)
         deleteComposerModuleView = NSBundle.mainBundle().loadNibNamed("DeleteComposerModuleView", owner: self, options: nil)[0] as! DeleteComposerModuleView
         deleteComposerModuleView.addToView(self.view)
         deleteComposerModuleView.show()
-        snapShotOfCellBeingMoved = snapShotView
-        snapShotOfCellBeingMoved.transform = CGAffineTransformMakeRotation(-0.02)
+        snapShotView.transform = CGAffineTransformMakeRotation(-0.02)
     }
     
     func tableView(tableView: UITableView!, changedPositionOfRowAtPoint point: CGPoint) {

    }
    
    func deleteComposerModule(){
        if let indexPath = initialIndexPathForMovingRow, snapShotView = snapShotOfCellBeingMoved{
            println("Initial Index of cell: \(indexPath)")
            snapShotView.alpha = 0
        }
        initialIndexPathForMovingRow = nil
        snapShotOfCellBeingMoved = nil
        deleteComposerModuleView.hide()
        
    }
    
    // MARK: - TableView Setup


    @IBOutlet var tableView: UITableView!
    var deleteComposerModuleView: DeleteComposerModuleView!
    
    var tableViewDataSource: ComposerTableViewDataSource!
    var currentlyEditingTextView: UITextView?
