rewrote the fade code

simplified the fader code quite a bit.  hopefully, this fixes the
flickering (need to test tomorrow night)