Use navigation event instead of mutation observer to dismiss progressbar