Rotate device.