switched from set interval to setTimeout

The reason for this switch is to make it impossible for the function to run again (in case one of the callbacks or scrolled.update() hangs)