Handle infinite scrolling messages inside the template, no more JS append/remove