Code:
$(function() {
var backgroundheight = 2000;
offset = Math.round(Math.floor(Math.random()* 2001));
function scrollbackground() {
offset = (offset < 1) ? offset + (backgroundheight - 1) : offset - 1;
$('#layer').setStyles('background-position', '50% ' + offset + 'px');
setTimeout(function() {
scrollbackground();
}, 50
);
}
scrollbackground();
});

