fix slider nav bug