Switch to CSS transitions to remove $.cache leak