changed autosizing restraints for smaller screens
adjusted keyboard shift for smaller screens