moved the transition button into each line