added translateZ(0) and fixed slideshow.pause handler
canPause:true adds pausehandler
Automatically rewritten for npm.