Javascript added and scrolling works from nav