I would like to change the sensitivity of animation on my webpage, it's a scroll-based animation with an image sliding all the way to the right when you scroll down. Its speed is controlled by how fast you scroll and its position is determined by where you are on the webpage(scroll-wise). This is a code snippet from javascript
<script>
var movement = document.getElementById("car")
window.addEventListener("scroll", function() {
car.style.backgroundPosition = +window.pageYOffset+"px";
})
</script>
The end result works, but I find it too slow and I would like to change how fast the image moves across the screen/how sensitive it is to the scroll input.