reorganized UI for a stacked layouts