bind close() to ng-swipe-left/right