windowEffects.js: fix minimze effects (_end method was accindentally inherited from close)