lastScrollTop && st > 50) {
scrolled = true;
if (window.setLogoToOrange) {
window.setLogoToOrange(); // Set to orange when scrolled
}
} else if (st < lastScrollTop) {
scrolled = false;
if (st <= 0) {
if (window.updateLogoToWhite) {
window.updateLogoToWhite(); // Set to white when at top
}
}
}
lastScrollTop = st;
">