since "enablePan" adds an event listener, we call "disablePan" to make sure there isn't a listener already attached