fixed autosizing on keyboard show/hide