swap next/prev