use throttling of the onscroll event, offload work to a selector