// JavaScript Document
 var delay = 3000; // you can change it
var count = 10; // How much items to animate
var showing = 2; //How much items to show at a time
var i = 0;
function move(i) {
  return function() {
	$('#feed'+i).remove().css('display', 'none').prependTo('#twitterScroll');
  }
}
function shift() {
  var toShow = (i + showing) % count;
  $('#feed'+toShow).show('fast', move(i));
  $('#feed'+i).slideUp(1000, move(i));
  i = (i + 1) % count;
  setTimeout('shift()', delay);
}    
$(document).ready(function() {
  setTimeout('shift()', delay);
});
