fixed font issue on firefox and animation on Safari