set status bar hidden when hiding nav bar.