Fix layout in landscape and when keyboard covers text field.