remove css styles that were interfering with animation in safari