removed webkit prefix and added another second for spin