diff --git a/draggablepanel/src/main/java/com/github/pedrovgs/DraggableViewCallback.java b/draggablepanel/src/main/java/com/github/pedrovgs/DraggableViewCallback.java
index <HASH>..<HASH> 100644
--- a/draggablepanel/src/main/java/com/github/pedrovgs/DraggableViewCallback.java
+++ b/draggablepanel/src/main/java/com/github/pedrovgs/DraggableViewCallback.java
@@ -165,7 +165,7 @@ class DraggableViewCallback extends ViewDragHelper.Callback {
      * @param xVel
      */
     private void triggerOnReleaseActionsWhileHorizontalDrag(float xVel) {
-        if (xVel < 0 && xVel <= X_MIN_VELOCITY) {
+        if (xVel < 0 && xVel <= -X_MIN_VELOCITY) {
             draggableView.closeToLeft();
         } else if (xVel > 0 && xVel >= X_MIN_VELOCITY) {
             draggableView.closeToRight();
Fix bug related with horizontal drag and x velocity when draggable view is released