added gradient compatibility for all browsers