fix race condition of multiple attached scroll handlers