fixed #17, forgot to unbindResizeEvents() when finished