add flip and fade css animation(now using fade)