refactor editor header
fix wrong DOM org on the header
adding lateral bar styling
adding expand button