Added fadeSpeed setting to control fade in/out speed.