add smooth transition demo