Added JS so that the slider nav changes to show current item after a swipe.