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