Added support for fading frames, closes #1