calculate the UITextView contentSize by ourselves because of a problem with iOS7