It is also repeated in the scoll() handler. DRY.