Adds scrolling to header navigation script