a refresh plugin used to refresh images on an interval