set page to 1 on route change