Added css and markup so that the items can switch between list view and grid view. Added buttons to switch views.
Revamped list view and grid view switcher so that it knows the state of the view so it doesn’t try to add the same view as the current state.