Very glitchy code to face a direction