fix slideshow input issue in ff