How to avoid list shifting to initial stage on api call

Hi All

I have an API that is called every 5 seconds, and this cause my page to be updated and reloaded. But when it reloads and if i have scrolled down on my page, it would take the position back to the top.

Is there away to stop this?