Added event property to transition. Moving state now updates the transitions to correct start and end points