move & rot done for xz plane