Update in curtain.js

Adding mozzila and msie support I forgot to add these lines in previous commit

This would fix firefox and msie scroll problem because firefox places overflow on html