slide show written in Scala.js