Show Load In Animation only once

Hey,

I’m trying to realize an a load in animation which only loads once.
I’ve used the finsweet session cookie/cookie solution but every time, the user goes back to the homepage, the animation shows up for like half a second before the script is done and applies the changes to the class.

Can anyone help me out here?


Here is my site Read-Only: [Link](https://preview.webflow.com/preview/rabona-8cd7bd4ab9f6a28fb0cf9f8d6f2bf0da?utm_medium=preview_link&utm_source=designer&utm_content=rabona-8cd7bd4ab9f6a28fb0cf9f8d6f2bf0da&preview=bf3e03ffabd7e677fc8af8e7498bfb95&workflow=preview)