Add basic resize behavior