fix panels in iOS