Infinite scrolling funciton is added => still needs to use an actual function which gets data from server