Control element states based on scroll position