offsetTop getting doubled causing elements to pop to sticky position early

Since offsetTop is already subtracted out in maxTop, subtracting it out again in the scrollTop check is effectively doubling the offsetTop, causing elements to pop to sticky position early.