Added dynamic content resize and storage of status and size