updating max and min opacity range, need to check for Modernizr and event shim