ios7 fixes, and ipad orientation