demo source polymer state machine mixin