Using the mask feature in Photoshop adjustment layers