Adjust offset of view when keyboard hides a textfield