made it run on an interval instead of on mouse hover