Remove win.off() from gallery module