resize dynamic

in order for the element to take the correct size it comes up that
we need to establish some priorities, some elements that must be resized before others
for now this priority is set in the html, maybe it could be for outside in or sometime like that
we need to execute all the takss in the correct order for every resize
always execure all tasks