Keeps the OverviewTreePanel expanded and re-factors some code