add a convenience onResize method
variable naming
update for new signal API