Fixed bug where the side pane would be displayed incorrectly on iOS 6