fix issue where scroll event should be listened