added visualstates to transition between states