Phew, finally figured out how to get it to work with the automatic insets for iOS 7