Added KVO concept to adjust the input text view frame.

Fix the new line visible issue in iOS 7.