Hello Eugene,
I have managed to recreate the code and it worked just fine until I realized that there is conflict with the anchor menu that I have added, meaning that anchor menu does not obey it just gets you to the next slide and not at the selected (e.g. you cannot go from top of the page directly to slide 5) and that is an issue for me at this point … anyhow eventually I decided not to use the scroll code. But now that I understand the code I will try on other sites that will suit better.
Thank you so much for the help again.
Best Regards,
Lily