usePreviousSnap() can help in this scenario?