Added an option --fade-duration to control fading speed