modify for ui animation to suppurt custom degree rotate action