Implements rotation when manipulating the object

Not very convenient interface though...