Add minimize button and view for editor