scroll offset check better