Need to dynamically get scrollbar width - trying out a function I found
online