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

        }

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

        func setUpCell() {


    private var collectionView: UICollectionView!
    var delegate: TagsTableViewCellDelegate?
    var tags: [String]? {
        didSet {
            collectionView.contentOffset = CGPointZero
        }
    }

