Made carousel animate with different values