add inline style for gradient overlay for mobile