Scroll to viewport after input methods list is rendered

Added input methods may increase the height of window.
Make sure the entire window is in view port.

Bug: 49427
Change-Id: I06194b7d51459a31247104b2113ef3212774f004
Merge "Scroll to viewport after input methods list is rendered"