fix bootstrap carousel transition bug