diff --git a/js/slider.js b/js/slider.js
index <HASH>..<HASH> 100644
--- a/js/slider.js
+++ b/js/slider.js
@@ -223,7 +223,7 @@
             panning = false;
             curr_index = $slider.find('.active').index();
 
-            if (!swipeRight && !swipeLeft) {
+            if (!swipeRight && !swipeLeft || $slides.length <=1) {
               // Return to original spot
               $curr_slide.velocity({ translateX: 0
                   }, {duration: 300, queue: false, easing: 'easeOutQuad'});
@@ -318,4 +318,4 @@
         $.error( 'Method ' +  methodOrOptions + ' does not exist on jQuery.tooltip' );
       }
     }; // Plugin end
-}( jQuery ));
\ No newline at end of file
+}( jQuery ));
Fix for #<I>. If there is a single slide in slider and swipe left or rigth, return to original position