check currentIndexPath before reordering