refactor PhotoSortView, rotation working