big performance optimizations for ui animations