added events filtering functionality and created tests accordingly.
added endless scrolling functionality.