diff --git a/index.html b/index.html
index c8afd71..02063b0 100644
--- a/index.html
+++ b/index.html
@@ -151,6 +151,14 @@
// Learn about plugins: https://revealjs.com/plugins/
plugins: [ RevealMarkdown, RevealHighlight, RevealNotes ]
});
+
+ function handleClick(e) {
+ e.preventDefault();
+ if(e.button === 0) Reveal.next();
+ if(e.button === 2) Reveal.prev();
+ }
+ window.addEventListener("mousedown", handleClick, false);
+ window.addEventListener("contextmenu", function(e) { e.preventDefault(); }, false);