webkit fix for mobile safari