NProgress when leaving page