fixing the speed of the slides in home