window: Add transitions to stacks