add pagination for content tables