adding opacity scroll effect to overlay. added documentation to code