Correct the button the next hand by taking it back one then go forward 2 the hand after, then everyone has paid the sb, bb and received the button in an orbit. (As Gatso said)
How is anyone certain about what has actually happened? Can't see how a definite ruling can be made by relying on players memories.