changed css from transform to -webkit-transfrom to fix Safari transitions