expand collapse modes added. segment2 is created as clone to existing segment