Improve animations for larger DOM elements.