check if panel is visible before refreshing
Merge pull request #197 from zenoss/feature/ZEN-12354

check if panel is visible before refreshing