Reverting next/prev link swap