Improved performance

Now only updates visible elements and uses a longer interval.