Improve tesoros and add flip css3 property