$(function() {
	// Smooth scroll effect
	var scrollDelay = 2000;
	$('a.scroll').click(function() {
		$('body').scrollTo($(this).attr('href'), scrollDelay);
		return false;
	});
	
	// Tweets
	var tweetDelay = 5000 * 5;
	$('#tweets').delay(5000).scrollTo($(this).find('li').last(), tweetDelay, {easing : 'linear'});
	
	// Pause on interaction
	$('#tweets').mouseover(function() {
		$(this).stop();
	});
});
