changes slider duration to 5 secs