[cyril] used navigationbar appearance api.