Model code refactor work in progress w/ fix for dupes in history.

Change-Id: I2358a98e14f9f99a4a7562171208c22a9e66c211
Remembers last scroll position.

Change-Id: I4bf01df1204af2be1d63dc848d35cfe0a0097893