add pagination for tag view