Better calculation of the textView height