Add automatic scrolling for chat window overflow