Handling keyboards better when rotating a view.