Pagination for friends list now working