fix slider page_switch bug