add some resize handler