added timing to hidden check for chrome