Allow easily enabling and disabling panzoom events. Fixes gh-7.