fix firefox card flipping style