     }
 
     override func viewDidAppear(animated: Bool) {
-        let date = NSDate()
-        let newIndex = NSIndexPath(forItem: (date.hour * 60 + date.minute) / 30, inSection: 0)
-        self.collectionView?.scrollToItemAtIndexPath(newIndex, atScrollPosition: UICollectionViewScrollPosition.CenteredVertically, animated: true)
+        scrollToCurrentTime()
     }
 
     // MARK: UICollectionViewDataSource

        }
    }

}


        let nib = UINib(nibName: XibNames.TimeCollectionViewCell.rawValue, bundle: nil)
        self.collectionView?.registerNib(nib, forCellWithReuseIdentifier: CollectionViewCellreuseIdentifier.TimeCell.rawValue)

        NSTimer.scheduledTimerWithTimeInterval(60.0, target: self, selector: "handleTimer:", userInfo: nil, repeats: true)
    }

    private func generateTimeLabels() {
