if (yNoScroll < self.scrollThreshold) {
            // Near top
            self.directions.up = true;
        }
        else if ((rect.bottom - event.clientY) < self.scrollThreshold) {