Fixed up JS "poptoggle" to CSS3 make transitions work; created dedicated .js file