fixed issue with css animation on ios