Made CSS compatible with mobile Safari