add nprogress support