Keep Firefox from scrolling right when in presentation

Keep Firefox window from scrolling right when using the right arrow key in presentations.
Updated to use js `event.preventDefault`.