changed left and right transitions