fix rendering glitches in tableviews and deprecations introduced by iOS 7