rotation logic, rotating the other way

added CCW rotation
fixed rotation logic to mimic the actual game.