contextual container, don't resize if not visible