Make hidden panels take no space in dynamic panel