fixed some issues with auto resize when rotating animation
testing