Updated code to set -webkit transform for safari and mobile safari.