change slider-nav code

change slider-nav code