better transition for container display