Would you please explain a bit more on
// This fix was hard-won - // just doing .css(property, '') doesn't work! $old.get(0).style["margin-left"] = "" $old.get(0).style["-webkit-transform"] = ""
What wasn't working and how this lines solved the problem?