added move function to inner and middle coordinate frames.