Change throttle to debounce. Fix my terrible code from last night