updated transform.rotate positioning