routes for next_prev_url fixed