persisting controls for flat view
flat list hierarchy, selected item is now red
added view toggle buttons and completed behavior