adding option to delay the first transition
updating demo to showcase delay option