Simpler, more accurate scrollbar click logic