Improve computation of margins width

based of real width of gutter and scrollbar