Modified to make use of a custom UIView for the grid view and drawing via drawRect, rather than generating multiple cell views to the grid view.