Created prototype for pagination on friends list