added spin loader on route change