added totalRot
working on click
fixed spurious z rotation
renamed
recovered it