fixes navigationBarHidden after swiping back