fix the issue to bootstrap slider inited by multiply times