Updated sliding menu to play nice with iOS 7