// we don't want any sort of keyboard scrolling while the slideshow is up, regardless
// of the exact keycode. The combination of preventDefault() and stopPropagation() is
// necessary in both FF and IE. As a historical note, one can do without the
// stopPropagation() in FF if one also does a preventDefault on keypress,
// but this is little more than a curiosity.
nativeEvent.preventDefault();
nativeEvent.stopPropagation();
}
}
});
}