Improve logic for setting scroll to bottom for chat logs.
Render older chat logs smoothly on scroll up.