Pan trigger extended to contain information if the dragging has ended or not

As I do not know how to change the pull request #1255, I create this new one.

If navigate plugin is used with pan functionality and data needs to be reloaded, it may be usefull to avoid calling the pan trigger during dragging.

This can help to avoid constantsly reloading data during dragging and instead just reload data, when dragging has been finished.