         case .Ended:
             let velocity = recognizer.velocityInView(self)
             
-            print("velocity: \(velocity)")
-            
             // TODO: move constant here and clean up
             // If the user swipes up with a great enough velocity or
             // if the panned view has been moved up enough, then remove it

            let nextViewXPoint = max(0, viewPositions[view]!.x + offset)
            absoluteOffset = absoluteOffsetForItemView(view, atXPosition: nextViewXPoint)
            
            print("nextViewXPoint: \(nextViewXPoint), view index: \(itemViews.indexOf(view)!), absOffset: \(absoluteOffset)")
        }
        else {
            absoluteOffset += offset

        }
        
        layoutItemViews()
        didPanHorizontally(byOffset: 0)
    }
    
    // MARK: - Updating item views
