Implement basic infinite scroll directive (unfinished)