refactor back layout, add common menu