working on rotation animation, need to deal with dir cases for different dirs