Modifies text field dimensions when keyboard is visible