Added resize feature handler