Update curtain.js

Fixed issue for IE that caused the plugin not to work when images are not visible but are within the DOM (i.e. display:none)