resolved css flip issue