From http://jaredknowles.com/journal/2012/8/1/tips-and-tricks-for-html-and-r.html

Code for html slides customization