Refined animation for expanding/closing photo