add opacity variation for picture