Change orientation to direction