Resize function

Place in page