Calculate scrollbar size on demand

Okay second try. I only changed the source files and used a simple text editor instead of sublime-text. No trailing spaces, tabs or something else should be modified automatically.