get current page number from route id param