Update custom-min.js

Improved fadein-fadeout effect.