Refine codes
We do not need onDrag event on photo and transition material