added temporalcorr.js & improved display toggling

temporalcorr doesn't plot yet but hopefully does all the preparatory
work needed