Changed to simpler implementation of fadeout