//======================== ScrollTo-serialScroll config
jQuery.easing.easeOutQuart = function (x, t, b, c, d) {
	return -c * ((t=t/d-1)*t*t*t - 1) + b;
};

jQuery(function( $ ){
	
	var $news = $('.latest');//we'll re use it a lot, so better save it to a var.
	$news.serialScroll({
		items:'li',
		prev:'a.icon-previous',
		next:'a.icon-next',
		duration:2000,
		force:true,
		stop:true,
		lock:false,
		axis:'y',
		easing:'linear',
		interval:4000, // yeah! I now added auto-scrolling
		//interval:1, // yeah! I now added auto-scrolling
		step:1 // scroll 2 news each time
	});	
	
});