adapt revealjs template to dev branch of hakimel/reveal.js