I see that the rotation of devices (using accelerometer emulator) is just wrong.
Try to rotate in x-axis and try to figure out is it -45 or +45 degree?
I made an example: http://jsfiddle.net/6keSm/2/ (only webkit)
Please add some perspective to this rotations, thank you!
BTW - Great stuff :)