perfomance optimization and UI animations