This example appends variable-height messages while demonstrating end-anchor
behavior: a reader at the end stays at the newest message, while a reader who
scrolled upward keeps the current viewport.