layout: MonadTall: add cmd_swap_main: use common attributes