changing opacity overlay fxn