Add pagination on scroll. Merge messages rather than replacing. Issue: #370