Working to and from top and bottom hooks. Trigger callbacks when thresholds are reached when scrolling up and down