Fix navigation bar hidden when swiping