implemented bird rotation.