updating transition slide speed