Add panel resize event