added toggle for fade effect.