jQuery(function($) {
  var position = $("li.active").attr("id");
  if (!position) position = 0;
    
  $('#calendar').serialScroll({
    items:'.date',
    prev:'#up a',
    next:'#down a',
    axis:'y',
    start:position,
    force:true,
    duration:400,
    stop:true,
    lock:false,
    cycle:false,
    step:2,
    constant:false,
    exclude:1 
  });  
  
});


