Improve animations for frontend