update css flip for ipad