add left margin only when sidebar is shown