         backgroundColor = UIColor.blueColor()
         autoresizingMask = .FlexibleWidth | .FlexibleHeight
         allowsSelection = false
-        registerClass(SectionViewCell.self, forCellReuseIdentifier: SectionReuseIdentifier)
+        registerClass(SectionView.self, forCellReuseIdentifier: SectionReuseIdentifier)
     }
 }
 

    }

    func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
        let sectionCell = tableView.dequeueReusableCellWithIdentifier(SectionReuseIdentifier, forIndexPath: indexPath) as SectionViewCell

        // TODO: create only visible cells
        let cells = createCells(indexPath.section)

        for cell in cells {
            sectionCell.scrollView.addSubview(cell)
        }

        let width = cells.last?.frame.maxX ?? sectionCell.frame.width
        let contentSize = CGSize(width: width, height: sectionCell.frame.height - 1) // TODO: scrolling will be disabled by using delegate
        sectionCell.scrollView.contentSize = contentSize

        return sectionCell
    }
}

private let SectionReuseIdentifier = "section"

class SectionView: UITableViewCell {

    let scrollView: UIScrollView = {
        let view = UIScrollView(frame: CGRectZero)
