changing the transition of carousel