implemented rotation to the PlayerMotion.cs script