Add smooth animation on webkit