edited color scale and rotation