map navbar resize bugfix