added spectrum view and switch
Merge branch 'master' into gh-pages

Conflicts:
	js/main.js