rotation code is accurate, but does not stop at specified facing