Fix transition property to avoid transition to be applied to the width of items