diff --git a/frontend/index.html b/frontend/index.html
index c8f69f2..d4d6c26 100644
--- a/frontend/index.html
+++ b/frontend/index.html
@@ -521,9 +521,10 @@
Saarthi
// Update the coordinates when the mouse moves
window.addEventListener("mousemove", function (e) {
- coords.x = e.clientX;
- coords.y = e.clientY;
+ coords.x = e.clientX;
+ coords.y = e.clientY + window.scrollY; // Adjust y position based on scroll
});
+
// Easing function to make the animation smoother
function lerp(start, end, t) {