adjusted pagination for auto scroll on cities pg