changed seconds to have gradual fading in/out