change section size dynamically