Quick fix to the navbar having a gap when responding to browser minimizing.