Fix saving scroll location on orientation change.