add to final version: attach\detach sidebar was fixed