Refactor the chat scroll code into a separate method.
Refactor the chat scroll code into a separate method.

Also, make sure to scroll to the bottom of the chat after component
mounts, if necessary.

ShieldBattery/ShieldBattery,ShieldBattery/ShieldBattery,ShieldBattery/ShieldBattery,ShieldBattery/ShieldBattery,ShieldBattery/ShieldBattery