Fixing opacity issues and JS scrolling offsets