refactor layout from two sidebar to one sidebar