Adding timeline class for sequential animations