Update visibility.js

refactorying from "_getStyle(p, 'overflow')" to "overflow"

and added "'auto' === overflow" because the value of overflow can be auto same as scroll.