added custom css class selection for custom transitions