stop periodic refresh when page is hidden
Merge pull request #7 from ndeloof/master

stop periodic refresh when page is hidden