update style of navbar in small screen