Change the way of nav bar