fixing polling interval reset on window resize
Merge pull request #1727 from madebydna/configure_polling_interval

Fixing polling interval reset on window resize