Calculate scrollbar width (fixes #360).