added coroutine to smoothly rotate player