picture on/off effect functinality added.