Now we'll add a function that will skew the elements to the left. The function will have to be applied to two elements: to the flat or non-skewed element, as well as to the one before it (to the right in this case). The function to animate the skew from right to left is as follows and should be placed below the matrix[5] = 0;
line:
function skewRTL() { var flat = flow.find(".flat").css("zIndex", order + 1), preFlat = flat.next(), flatMatrix = matrix.slice(0), preMatrix = matrix.slice(0), flatDims = 200, preDims = 170, skew = function() { if (preFlat.length) { if (flatMatrix[3] <= 30 * oneRad && flatMatrix[5] <= 10 * oneRad) { var flatTranslateX = parseInt(flatMatrix[9].split("p")[0], 10), flatTranslateY = parseInt(flatMatrix[10].split("p")[0], 10), preTranslateX = parseInt(preMatrix[9].split("p")[0], 10), preTranslateY = parseInt(preMatrix...