modified grayscale scale in editView