a sample done to dismiss keyboard for UITextView