adds auto-scrolling to messagse window