somewhat better navbar resize