fixed flip effects in firefox