Resize the textarea and restore the scrollbar

It resize the width of the textarea to restore the scrollbar and his height to show the last line when a page is longer than the screen.