creating timeline component