Smoothstate demo

added smooth state demo