 
     private var collectionView: UICollectionView!
     var delegate: TagsTableViewCellDelegate?
-    var tags: Array<String>? {
+    var tags: [String]? {
         didSet {
-            collectionView?.reloadData()
+            collectionView.contentOffset = CGPointZero
         }
     }
 

    }

    required init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
        setUpCell()
    }

    func setUpCell() {

    func collectionView(collectionView: UICollectionView, didSelectItemAtIndexPath indexPath: NSIndexPath) {
        delegate?.tagsTableViewCell(self, didSelectTag: self.tags![indexPath.row])
    }

    override func layoutSubviews() {
        super.layoutSubviews()

        collectionView.reloadData()
    }
}
