         for cellInfo in cellInfos {
             cellInfo.cell.hidden = false
 
-            if cellInfo.cell == nearestCenter.cell {
-                cellInfo.cell.transform = CGAffineTransformMakeTranslation(20, 0)
+            if cellInfo.row == nearestCenter.row {
+                UIView.animateWithDuration(0.3, animations: { () -> Void in
+                    // println(nearestCenter.deviation - y)
+                    // cellInfo.cell.transform = CGAffineTransformMakeTranslation(0, 100 * (cellInfo.deviation - nearestCenter.deviation))
+                    // cellInfo.cell.contentView.bounds.size.height = cellInfo.height + 100
+                    cellInfo.cell.transform = CGAffineTransformMakeTranslation(20, 0)
+                })
             } else {
-                cellInfo.cell.transform = CGAffineTransformMakeTranslation(0, 0)
+                UIView.animateWithDuration(0.3, animations: { () -> Void in
+                    // println(nearestCenter.deviation - y)
+                    // cellInfo.cell.transform = CGAffineTransformMakeTranslation(0, 100 * (cellInfo.deviation - nearestCenter.deviation))
+                    //cellInfo.cell.contentView.bounds.size.height = cellInfo.height
+                    cellInfo.cell.transform = CGAffineTransformMakeTranslation(0, 0)
+                })
             }
-
-            UIView.animateWithDuration(0.3, animations: { () -> Void in
-                // println(nearestCenter.deviation - y)
-                // cell.transform = CGAffineTransformMakeTranslation(0, 100 * (cellInfo.deviation - nearestCenter.deviation))
-            })
         }
     }
 }

                y = 0
            }

            var centerY = y + height / 2

            let deviation = centerY / collectionViewHeight - 0.5

            if abs(nearestCenter.deviation) > abs(deviation) {
                nearestCenter.deviation = deviation
                nearestCenter.cell = cell
            }

            let cellInfo = (
                cell:      cell,
                y:         centerY,
                height:    height,
                deviation: deviation
            )

import Timepiece

class EventsCollectionViewController: UICollectionViewController {

    private typealias EventCellInfo = (cell: UICollectionViewCell!, row: Int, height: CGFloat, deviation: CGFloat)

    var calendar: Calendar!

