include pageoffset condition to hide toggle