Hide nav bar and toolbar when proper