Take UITextView contentOffset into account when calculating the scrolling value as convertPoint will include a negative offset.
Fixed text view height calculation so that height never exceeds available screen space when keyboard is visible.