add scroll detection and scroll nav animation