destroy old event on document resize.  tested and working