title: Responsive jsCarousel V2.0
body: <p>I have implement jsCarousel v2.0 
  Demo Link <a href="http://www.egrappler.com/contents/jscarouselv2/demo/jscarousel-2.0.0.htm" rel="nofollow">http://www.egrappler.com/contents/jscarouselv2/demo/jscarousel-2.0.0.htm</a></p>
  
  <p>My whole site is Responsive but when jsCarousel v2.0 runs it works when i open site on Portrait Mode or Landscape Mode</p>
  
  <p>But when i move from Portrait Mode to Landscape Mode it does'nt detect correct mode   </p>
  
  <pre><code>if ( jQuery(window).width() &gt; 1200 ){
   var a=5;
  }
  else if ( jQuery(window).width() &gt;= 949 ){
  var a=5;}
  else if ( jQuery(window).width() &gt;= 768 ){
  var a=3;}
  else if ( jQuery(window).width() &gt;= 600 ){
  var a=2;}
  else if ( jQuery(window).width() &gt;= 480 ){
  var a=2;}
  else if ( jQuery(window).width() &gt;= 320 ){
  var a=1;}
  
  $.fn.extend({
  jsCarousel: function(options) {
  var settings = $.extend({
  scrollspeed: 500,
  delay: 5000,
  itemstodisplay: a,
  autoscroll: false,
  onthumbnailclick: null
  }, options);
  </code></pre>
  
  <p>Please suggest?</p>