orientation flips and board rearranges