added backgroundFade function