Thank you so much for replying to me. I watched the video and tried in my example but at first it didnt work. When I was looking at the code while scrolling I noticed that the animation was starting way after the page had already scrolled. So in the end I removed some of my properties, added the immediatRender and it worked! Thank you for your help!