added scaleX and scaleY

Added "scaleX" and "scaleY" based on your "scale" code.