тип так
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<div id="case"></div>
<script>
var idCase = document.getElementById('case');
var i = -975;
function smoothCh() {
if (i == 0) clearTimeout(timer);
else {
idCase.style.backgroundPosition = i++ + 'px 0px';
var timer = setTimeout(smoothCh, 20);
}
}
smoothCh();
</script>
</body>
</html>