rotate the canvas context