refactor transition speeds