fix goto slide bug in slide_nav.js