Make list command paginated