Pan the screen rather than resize it when the soft keyboard appears on
Android as this resolves bugs with the screen not resizing correctly on
transition. Fixes #465.