reposition text fields to avoid disappearing text