fix #2 slide_to JS function don't work in Chrome