Make sure selected transition is re-selected on changing viewer tab

Otherwise the properties view keeps showing the last selected transition

Test: npm run test:presubmit
Change-Id: I952cabd37742218a0e4735efece69ac33b88950b
5 files changed