mirroring player depending on direction