Triggers the load function when scrolling