Fixed the layout for iOS7