wraps info panel initializer in iffe