Scroll current state into view
Calculate state width based on transitions count