change transparnecy after interval is finished