Adding transitions class