First attempt at restoring expanded state when changing versions.

Not yet as clean of a UI as it could be.