added function for added text to textContainer. textContainer scrolls to bottom when text is added