Update curtain.js

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