adding handleResize throttling