Hello Guys
Thank you for your help in my last post which helped me to move forward with code but I am stuck again, let me explain in brief
On page load header (sticky header) and thank you section in white background with text (menu and thank you text) in black color
On scroll, horizontally it should scroll and background should be black for header and thank you section with text in background with "sticky" header
then on scroll to end, start vertical scrolling with sticky header with white background
sticky header needs to be available for all sections (throughout the page)
I am not able to make it sticky once the transition is done and along with that header while scrolling from black to white scrolling is not smooth
for reference please check the codesandbox here