Completed implementation of swapCursor method