update panel content layout

update panel content layout with stacks