Ensured that animation works in chrome