Add transition effects for the injected menu