Switch to creating uiviews instead of drawRect, which does not work in iOS 7