inflate the transition from the XML file