Created by: stefansundin
If opening a modal when a scrollbar is present, closing it, then resizing the window so the scrollbar disappears, then opening the modal again, the content would shift. This fixes the problem by always calculating the scrollbar width every time a modal is opened.
See buggy example: http://jsfiddle.net/02rthxw5/ See fixed example: http://jsfiddle.net/02rthxw5/2/
Should I add compiled files to the PR? I could not find if this is desired in the docs.