Back when the Powerbooks began to be equipped with sudden motion sensors, I remember someone writing a hack involving a virtual desktop application. They'd whack the left side of the PB and the desktop would switch (left-to-right transition) and then whack the other side to bring the first desktop back (right to left).
I hope that's possible with Spaces
I hope that's possible with Spaces