use visibleCells instead of subviews
fixed indentation
Merge pull request #1 from rounak/master

use visibleCells instead of subviews