Only unbind resize event if it was bound before.

In case options.isResizeBound is false and no resize handling should be done `destroy` event fail in IE8 due to not being able to detach event.