convert Command to footer
refine layout to add left bar
refine layout to add left bar