add transition to header