move/rename globals
add transition-detecting js
add transition css