css fix for apple devices