use nonmin js to change transition effects