updated animate and animate_set functions

also updated the example layout to match and provide an example
animation_set
updated example layout