fix embed and css loading for mobile