Fix function getScrollbarWidth
Fix function getScrollbarWidth

$(document.body).height() gets the same height as $(window).height() in some cases (for example if you use the foundation framework, because it sets the body height to 100%).
Change $(document.body).height() to $(document).height() works fine.
VodkaBears/Remodal,VodkaBears/Remodal