update slide speed