Adds an event listener to a div and triggers an event when you scroll to the bottom of it.
Use the event handler to fetch more data and append to the list or table displaying records.
Optional footer with information of current records fetched and total to be fetched, based on input parameters.
Fixed a bug that caused the event to be triggered for StarIndexes already queried.