Move to container when shown.