fixed issue with deleting views and re-adding

still working on clicking on snapshot to change main view.