scrolling chatlogs to the bottom on tab switch