loading bar after route changes