Minor drag/drop clean up.
Add some code from https://github.com/willy-vvu/reveal.js