Resizes the text area automatically according to user input