added code for opacity scaling
some help on gallery
some help on picking