maintain correct size for chat window; keep chat window scrolled to bottom