Updated nav slider functionality