this would probably be a good place to stop listening on resize