Fix scroll event function calls