Added unit rotation

can't rotate more than 2 times for some reason