added a refreshHeight method which can force the textview to resize itself programmatically