Added new transitions and ability to use different transitions.