added transitions into FlxG.