Fix race condition in rememberPageStateFixed

During screen rotation, currentPage could be updated to a wrong value.

Split the rotation detection and scrolling to correct page to fix this
issue.

Fix: 281928661
Test: Manually with App languages page
Change-Id: I71f69db0c832dc4b4dc90ee210efbfe768cf17e4
1 file changed