fix lyaout for safari / ios