swipe gesture bug fixes

the two changes below make the swipe gesture work for me. 


the previous text view content size doesn't get reset every time
editing starts.

scrollview insets work now when the keyboard is minimized.