While Page is scrolling animation problem

Hello Webflowers :slight_smile:

First time posting

I have this strange issue and I can’t find solution for it. I have a fixed navigation which changes color (inverts) while page is scrolling. It works but it’s not perfect. Since thera are some lazy loads the page changes it height while scrolling and this affects the point where the navigation inverts. I’ll be glad if someone can help.

Here’s a read only link: