[TASK] build resizeContent functionality