autoAdjustInsets compatibility with iOS 6