adding support for external handling of resize event for various throttling needs