tweak javascript to only scroll nav on home page