FREELessons: 26Length: 3.5 hours

• Overview
• Transcript

# 5.4 Detecting the Current Position

To finish up our navigation, we need to detect the current scroll position of our page and set the currentPosition variable when the page loads. Once you're done, the page should animate perfectly, no matter where the scroll position is when the page loads.