Can't figure out why this thing happens.
var thumb_width = 240;
var thumb_height = 180;
$('.video-thumbnail').on({
'mouseenter': function(){
var i = 0; var j = 0;
$(this).id = setInterval(function(){
$(this).animate({
'background-position-x': -(j * thumb_width),
'background-position-y': -(i * thumb_height)
});
i++; j++;
}, 1000);
}
})
});