click and drag figure to rotate