Preserve scroll position when data changes

This might be related to #9 (closed)

When the data changes, the scroll position is lost, even when providing a key. This may be due to the brief flashing that occurs, which would be nice to be able to fix, too. Here's what it looks like in my project:

Screencast_from_2024-01-23_14-39-42