prevent resize from running if slider is destroyed, avoiding styles to be reinserted
Merge pull request #306 from idflood/destroyStyles

Prevent resize from running if slider is destroyed (styles reset issue)