fix the layout by changing spanning and offsetting in the interface

- make the sidebar as well-small