             
             
             // keep moving when the velocity is high enough
-            // next image
-            if(velX < -1000){
+            // next image or the position is far enought away
+            if(velX < -1500 || transX < -700){
+                
+               // if(velX > -1000){
+                    velX = -8000
+               // }
                 
                 isImageTransition = true
                 

                    return
                }
                
                self.imageView.image = imageResult
                
                //self.imageView.image = image! as UIImage
                print("detail image was loaded")

                transY =  transY / 3
            }
            
            // moving to the right, so assume to get the previous image
            // set up the preview image if it hasn´t been done
            if(transX > 0  &&  previewMode != previewStates.initializedLeft){
                setPreviewLeft()
                
            }
            
            
            
            // moving to the left, so assume to get the next image
            // set up the preview image if it hasn´t been done
            if(transX < 0  &&  previewMode != previewStates.initiailzedRight){
                setPreviewRight()
            }
            
            
            
            // direction change and we have to reset the preview image position?
            if(transX > 0  &&  previewMode == previewStates.initiailzedRight){
                setPreviewLeft()
