improved animation on safari